<%@ Control Language="c#" AutoEventWireup="false" Codebehind="DefaultView.ascx.cs" Inherits="TimeSheet.view.DefaultView" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="ew1" Namespace="eWorld.UI" Assembly="eWorld.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=24d65337282035f2" %>
<!-- start Sidebar -->
<div id="SideBar">
	<p>
		<asp:calendar id="calTimesheet" runat="server" borderstyle="Solid" backcolor="Ivory" forecolor="#234479"
			cssclass="timesheet" width="100%" borderwidth="1px" bordercolor="#D7EDF5">
			<titlestyle cssclass="timesheetHeader" backcolor="White"></titlestyle>
		</asp:calendar>
	</p>
	<p>
		<table width="100%" class="timesheet">
			<tr>
				<td colspan="2" class="timesheetHeader">
					Summary for:
					<asp:label id="lblSummary" runat="server"></asp:label>
				</td>
			</tr>
			<tr>
				<td valign="top" align="left" width="70%">
					Total Hours:
				</td>
				<td valign="top" align="left" width="30%"><asp:label id="lblTotal" runat="server"></asp:label></td>
			</tr>
			<tr>
				<td valign="top" align="left" width="70%">
					Billable Hours:
				</td>
				<td valign="top" align="left" width="30%">
					<asp:label id="lblChargeable" runat="server"></asp:label>
				</td>
			</tr>
			<tr>
				<td valign="top" align="left" width="70%">
					Non-Billable Hours:
				</td>
				<td valign="top" align="left" width="30%">
					<asp:label id="lblNonChargeable" runat="server"></asp:label>
				</td>
			</tr>
			<tr>
				<td valign="top" align="left" width="70%">
					Variance:
				</td>
				<td valign="top" align="left" width="30%">
					<asp:label id="lblVariance" runat="server"></asp:label>
				</td>
			</tr>
			<tr>
				<td colspan="2"></td>
			</tr>
		</table>
	</p>
	<p>
		<table width="100%" class="timesheet">
			<thead>
				<tr>
					<td class="timesheetHeader" style="HEIGHT: 18px">This Pay Period
					</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td id="summaryCell" runat="server">
						<asp:label id="lblPayPeriodPlaceholder" runat="server"></asp:label>
					</td>
				</tr>
			</tbody>
		</table>
	</p>
</div>
<!-- start content -->
<div id="Content">
	<br>
	<!-- Billable Hours -->
	<div class="timesheet">
		<div class="timesheetHeader">
			<asp:label id="Label1" runat="server" font-bold="True" font-names="Arial">Billable Hours:</asp:label>
		</div>
		<br>
		<div class="timesheetContent">&nbsp;
			<table width="100%">
				<tr>
					<td valign="bottom" width="15%">
						Project:
					</td>
					<td valign="top" colspan="2">
						<asp:checkbox id="cbShowAll" runat="server" autopostback="True" text="Show All Projects"></asp:checkbox><br>
						<ew1:multitextdropdownlist id="ddlProjects" runat="server" tabindex="1"></ew1:multitextdropdownlist>
					</td>
				</tr>
				<tr>
					<td valign="top" width="15%">
						Hours:
					</td>
					<td valign="top" colspan="2">
						<ew1:numericbox id="txtChargeableHours" runat="server" width="40px" cssclass="textbox" tabindex="2"></ew1:numericbox>
					</td>
				</tr>
				<tr>
					<td valign="top">
						Description:
					</td>
					<td valign="top" width="80%">
						<asp:textbox id="txtBillableComments" cssclass="textbox" runat="server" width="100%" tabindex="3"></asp:textbox>
					</td>
					<td valign="top" align="right">
						<asp:button id="btnAddChargeableHours" tabindex="4" width="75px" runat="server" text="Add ->"
							cssclass="okButton"></asp:button>
						<asp:label id="lblBillableErr" runat="server" cssclass="below"></asp:label>
					</td>
				</tr>
			</table>
			<p>
				<asp:datagrid id="dgChargeable" runat="server" gridlines="None" cssclass="datagrid" autogeneratecolumns="False">
					<selecteditemstyle></selecteditemstyle>
					<alternatingitemstyle cssclass="datagridalternateitemstyle"></alternatingitemstyle>
					<itemstyle cssclass="datagriditemstyle"></itemstyle>
					<headerstyle cssclass="datagridheader"></headerstyle>
					<footerstyle></footerstyle>
					<columns>
						<asp:boundcolumn visible="False" datafield="ch_id" readonly="True"></asp:boundcolumn>
						<asp:boundcolumn datafield="client_name" sortexpression="client_name" readonly="True" headertext="Client">
							<headerstyle width="40%"></headerstyle>
						</asp:boundcolumn>
						<asp:boundcolumn datafield="project_name" sortexpression="project_name" readonly="True" headertext="Project">
							<headerstyle width="40%"></headerstyle>
						</asp:boundcolumn>
						<asp:boundcolumn datafield="charge_hours" sortexpression="charge_hours" readonly="True" headertext="Hours">
							<headerstyle width="20%"></headerstyle>
						</asp:boundcolumn>
						<asp:buttoncolumn text="Remove" commandname="Delete">
							<itemstyle horizontalalign="Right"></itemstyle>
						</asp:buttoncolumn>
					</columns>
					<pagerstyle horizontalalign="Right" forecolor="#4A3C8C" backcolor="#E7E7FF" mode="NumericPages"></pagerstyle>
				</asp:datagrid>
			</p>
		</div>
	</div>
	<br>
	<br>
	<!-- Non-Billable Hours -->
	<div class="timesheet">
		<div class="timesheetHeader">
			<asp:label id="Label2" runat="server" font-bold="True" font-names="Arial">Non-Billable Hours:</asp:label>
		</div>
		<br>
		<div class="timesheetContent">
			<table width="100%">
				<tr>
					<td width="15%" valign="top">
						Activity:
					</td>
					<td valign="top" colspan="2">
						<asp:dropdownlist id="ddlActivities" tabindex="5" runat="server"></asp:dropdownlist>
					</td>
				</tr>
				<tr>
					<td width="15%" valign="top">
						Hours:
					</td>
					<td valign="top" colspan="2">
						<ew1:numericbox id="txtNonChargeableHours" runat="server" width="40px" cssclass="textbox" tabindex="6"
							positivenumber="True" maxlength="5"></ew1:numericbox>
					</td>
				</tr>
				<tr>
					<td valign="top">
						Description:
					</td>
					<td valign="top" width="80%">
						<asp:textbox id="txtNonBillableComments" tabindex="7" width="100%" cssclass="textbox" runat="server"></asp:textbox>
					</td>
					<td valign="top" colspan="2" align="right">
						<asp:button id="btnAddNonChargeableHours" tabindex="8" width="75px" runat="server" text="Add ->"
							cssclass="okButton"></asp:button>
						<asp:label id="lblNonBillableErr" runat="server" cssclass="below"></asp:label>
					</td>
				</tr>
			</table>
			&nbsp;&nbsp;&nbsp;
			<p>
				<asp:datagrid id="dgNonChargeable" runat="server" cssclass="datagrid" gridlines="None" autogeneratecolumns="False">
					<selecteditemstyle></selecteditemstyle>
					<alternatingitemstyle cssclass="datagridalternateitemstyle"></alternatingitemstyle>
					<itemstyle cssclass="datagriditemstyle"></itemstyle>
					<headerstyle cssclass="datagridheader"></headerstyle>
					<footerstyle></footerstyle>
					<columns>
						<asp:boundcolumn visible="False" datafield="nch_id" readonly="True"></asp:boundcolumn>
						<asp:boundcolumn datafield="activity_name" sortexpression="activity_name" readonly="True" headertext="Activity">
							<headerstyle width="65%"></headerstyle>
						</asp:boundcolumn>
						<asp:boundcolumn datafield="non_charge_hours" sortexpression="non_charge_hours" readonly="True" headertext="Hours">
							<headerstyle width="35%"></headerstyle>
						</asp:boundcolumn>
						<asp:buttoncolumn text="Remove" commandname="Delete">
							<itemstyle horizontalalign="Right"></itemstyle>
						</asp:buttoncolumn>
					</columns>
					<pagerstyle horizontalalign="Right" forecolor="#4A3C8C" backcolor="#E7E7FF" mode="NumericPages"></pagerstyle>
				</asp:datagrid>
			</p>
			<p>
				<asp:label id="lblMessage" runat="server"></asp:label>
			</p>
		</div>
	</div>
</div>
<!-- end content -->
